package com.rd.sys.dto.client.analysis.config;

import baseproj.common.constants.BaseEnum;

/**
 * 热点图配置参数
 * 
 */
public class HeatConfig {

    /**
     * 参数名
     * 
     */
    public enum Key implements BaseEnum {
        Radius("cfg_heat_radius", "热点大小", "设置多大半径（单位是像素）的区域作为一个热点。该参数值越大，标识出的热点区域越大。该参数用于调整热点的绘制效果。");

        private String code;
        private String name;
        private String description;

        private Key(String code, String name) {
            this.code = code;
            this.name = name;
        }

        private Key(String code, String name, String description) {
            this.code = code;
            this.name = name;
            this.description = description;
        }

        @Override
        public String getCode() {
            return this.code;
        }

        @Override
        public String getName() {
            return this.name;
        }

        public String getDescription() {
            return description;
        }

    }

    public enum Radius implements BaseEnum {

        Radius_20("20", "20px"), Radius_30("30", "30px"), Radius_40("40", "40px"), Radius_50("50", "50px"), Radius_60(
                "60", "60px");

        private String code;
        private String name;

        private Radius(String code, String name) {
            this.code = code;
            this.name = name;
        }

        @Override
        public String getCode() {
            return this.code;
        }

        @Override
        public String getName() {
            return this.name;
        }
    }

    public enum Deviation implements BaseEnum {

        Deviation_10("10", "10px"), Deviation_20("20", "20px"), Deviation_30("30", "30px"), Deviation_40("40", "40px"), Deviation_50(
                "50", "50px"), Deviation_60("60", "60px");

        private String code;
        private String name;

        private Deviation(String code, String name) {
            this.code = code;
            this.name = name;
        }

        @Override
        public String getCode() {
            return this.code;
        }

        @Override
        public String getName() {
            return this.name;
        }
    }
}
